with open(r'C:\Users\31195\Desktop\第三周作业\情绪字典\anger.txt','r',encoding='utf8') as f:
    for line in f.readlines()[:10]:
        print(line)